package org.luu.medicare.repository;

import org.luu.medicare.entity.TMedicine;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;

public interface TMedicineRepo extends JpaRepository<TMedicine, Integer> {
    Page<TMedicine> findAll(Specification<TMedicine> spec, Pageable pageable);
}
